package com.dongdongshop.em;

public enum ResultEnum {
    SUCCESS(10000,"操作成功"),
    NO_LOGIN(10001,"未登录"),
    ARGS_FAILE(10002,"参数不正确"),
    ACCOUNT_DOES_NOT(10003,"账户不存在"),
    WRONG_PASSWORD(10004,"密码错误"),
    PARAMETER_EMPTY(10005,"参数为空"),
    ERROR(99999,"操作失败"),
    TOLOGIN(10007,"未登录"),
    SALE_OVER(10008,"已售空"),
    NO_PASS(10006,"未审核");

    private Integer status;
    private String  statusInfo;



    ResultEnum(Integer status, String statusInfo) {
        this.status = status;
        this.statusInfo = statusInfo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusInfo() {
        return statusInfo;
    }

    public void setStatusInfo(String statusInfo) {
        this.statusInfo = statusInfo;
    }
}
